#delimit ;
set more off;

gen region=.;
replace region=1 if stateabv=="ME" ||
			stateabv=="NH" ||
			stateabv=="VT" ||
			stateabv=="CT" ||
			stateabv=="MA" ||
			stateabv=="RI" ||
			stateabv=="NY" ||
			stateabv=="NJ" ||
			stateabv=="PA";
replace region=2 if stateabv=="OH" ||
			stateabv=="MI" ||
			stateabv=="IN" ||
			stateabv=="IL" ||
			stateabv=="IA" ||
			stateabv=="WI" ||
			stateabv=="MN" ||
			stateabv=="ND" ||
			stateabv=="SD" ||
			stateabv=="NE" ||
			stateabv=="KS" ||
			stateabv=="MO";

replace region=3 if stateabv=="DE" ||
			stateabv=="MD" ||
			stateabv=="VA" ||
			stateabv=="NC" ||
			stateabv=="SC" ||
			stateabv=="GA" ||
			stateabv=="FL" ||
			stateabv=="AL" ||
			stateabv=="MS" ||
			stateabv=="TN" ||
			stateabv=="KY" ||
			stateabv=="AR" ||
			stateabv=="OK" ||
			stateabv=="TX" ||
			stateabv=="LA";
replace region=4 if stateabv=="MT" ||
			stateabv=="WY" ||
			stateabv=="CO" ||
			stateabv=="NM" ||
			stateabv=="AZ" ||
			stateabv=="UT" ||
			stateabv=="ID" ||
			stateabv=="NV" ||
			stateabv=="CA" ||
			stateabv=="WA" ||
			stateabv=="OR" ||
			stateabv=="AK" ||
			stateabv=="HI";
